﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JuCheap.Core.Data.Entity
{
    /// <summary>
    /// 设备信息
    /// </summary>
    public class HardWareDevice : Entity<int>
    {
        /// <summary>
        /// 设备名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 设备id
        /// </summary>
        public string DeviceId { get; set; }

        /// <summary>
        /// 设备sn号
        /// </summary>
        public string DeviceSn { get; set; }

        public DeviceStatus Status { get; set; }

        /// <summary>
        /// 设备位置
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 开门方向
        /// </summary>
        public int Direction { get; set; }
    }

    public enum DeviceStatus
    {
        Offline, Online
    }
}
